package com.zhbr.mvp.ui.fragment;


import androidx.lifecycle.ViewModel;

import com.zhbr.entity.Account;
import com.zhbr.ContextApplication;

public class MyViewModel extends ViewModel {
    // TODO: Implement the ViewModel

    Account account;

    public Account getAccount(){
        account=new Account();
        account.setActnickname(ContextApplication.getInstance().readFromSP("user_info","nickname"));
        account.setActtelephone(ContextApplication.getInstance().readFromSP("user_info","phone"));
        return account;
    }



}